const mongoose = require('mongoose');
const { Schema } = mongoose;
const rloeSchema = new Schema({
  roleName: String,
  remark: String,
  permissionList:{
    checkKeys:[],
    halfCheckedKeys:[]
  },
  createTime:
  {
    type: Date,
    default: Date.now
  },
  updateTime:
  {
    type: Date,
    default: Date.now
  },

})

module.exports = mongoose.model('Role', rloeSchema);